using SmartLink.DTOS;
using SmartLink.DTOS.Permission;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartLink.Application.IServices
{
    public interface IRoleAppServices
    {
        Results AddRole(RoleAddDTO model);
        Results<RoleDTO> GetRole(int id);
        Results UpdateRole(RoleUpdateDTO model);
        Results DeleteRole(int id);
        Results<PageData<RoleListItemDTO>> GetPageList(RolePagePara PagePara);
        Results<IList<SelectItemDTO>> GetRoleSelectList(int? oid = null);
        Results AllotRolesToUser(AllotRoleToUserDTO allotRoleToUserDTO);
    }
}
